<!DOCTYPE html>
<html lang="en">
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <script src=""></script>
    <title>增加</title>
</head>
<body>
<div class="ibox-title">
    <div class="ibox-tools">
        <a class="collapse-link">
            <i class="fa fa-chevron-up"></i>
        </a>
        <a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
            <i class="fa fa-wrench"></i>
        </a>
        <ul class="dropdown-menu dropdown-user">
            <li><a href="table_basic.html#">选项1</a>
            </li>
            <li><a href="table_basic.html#">选项2</a>
            </li>
        </ul>
        <a class="close-link">
            <i class="fa fa-times"></i>
        </a>
    </div>

    <div class="col-sm-6">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>添加商品</h5>
                <div class="ibox-tools">
                    <a class="collapse-link">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                    <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
                        <i class="fa fa-wrench"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="form_basic.html#">选项1</a>
                        </li>
                        <li><a href="form_basic.html#">选项2</a>
                        </li>
                    </ul>
                    <a class="close-link">
                        <i class="fa fa-times"></i>
                    </a>
                </div>
            </div>
            <div class="ibox-content">
                <form class="form-horizontal m-t" action="/addgood" id="commentForm" novalidate="novalidate">

<!--                    <div class="form-group">-->
<!--                        <label for="input_file" class="col-sm-3 control-label">商品图片</label>-->
<!--                        <div class="col-sm-8">-->
<!--                            <input type="file" name="file" id="input_file" required="required" style="display:inline;">-->
<!--                        </div>-->
<!--                    </div>-->
<!--                     <div class="form-group">-->
<!--                        <label for="input_file" class="col-sm-3 control-label">商品图片</label>-->
<!--                        <div class="col-sm-8">-->
<!--                            <input type="file" name="file" id="input_file" required="required" style="display:inline;">-->
<!--                        </div>-->

                    <div class="form-group">
                        <label class="col-sm-3 control-label">名称</label>
                        <div class="col-sm-8">
                            <input id="name" name="name" type="text" class="form-control">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">介绍</label>
                        <div class="col-sm-8">
                            <input id="intro" name="intro" minlength="2" type="text" class="form-control" required="" aria-required="true">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">规格</label>
                        <div class="col-sm-8">
                            <input id="spec" name="spec" minlength="2" type="text" class="form-control" required="" aria-required="true">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">价格</label>
                        <div class="col-sm-8">
                            <input id="price" name="price" minlength="2" type="text" class="form-control" required="" aria-required="true">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">库存</label>
                        <div class="col-sm-8">
                            <input id="stock" name="stock" minlength="2" type="text" class="form-control" required="" aria-required="true">
                        </div>
                    </div>

<!--                    <div class="form-group">-->
<!--                        <label class="col-sm-3 control-label">类目</label>-->
<!--                        <div class="col-sm-8">-->
<!--                            <input id="typing" name="typing" minlength="2" type="text" class="form-control" required="" aria-required="true">-->
<!--                        </div>-->
<!--                    </div>-->

                    <div class="form-group">
                        <label class="col-sm-3 control-label">详情</label>
                        <div class="col-sm-8">
                            <input id="content" name="content" minlength="2" type="text" class="form-control" required="" aria-required="true">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">类目</label>
                        <div class="col-sm-8">
                            <select class=" form-control " name="t_id"  minlength="2" required="" aria-required="true">
                                <option value="43">男装</option>
                                <option value="45">电子产品</option>
                                <option value="46">女装</option>
                                <option value="47">文创</option>
                                <option value="52">童装</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-3">
                            <button class="btn btn-primary" type="submit">提交保存</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
<!--        <div class="ibox float-e-margins">-->
<!--            <div class="ibox-content">-->
<!--                <p class="m-t">更多示例请访问官方示例页面：<a href="http://jqueryvalidation.org/files/demo/" target="_blank">查看</a>-->
<!--                </p>-->
<!--                <p>中文API可参考：<a href="http://www.w3cschool.cc/jquery/jquery-plugin-validate.html" target="_blank">http://www.w3cschool.cc/jquery/jquery-plugin-validate.html</a>-->
<!--                </p>-->
<!--            </div>-->
<!--        </div>-->
    </div>


</div>


</body>
</html>